A Class of Rewriting Rules and Reverse Transformation for Rule-based Equivalent Transformation
نویسندگان
چکیده
In the rule-based equivalent transformation (RBET) paradigm, where computation is based on meaning-preserving transformation of declarative descriptions, a set of rewriting rules is regarded as a program. The syntax for a large class of rewriting rules is determined. The incorporation of meta-variables of two different kinds enables precise control of rewriting-rule instantiations. As a result, the applicability of rewriting rules and the results of rule applications can be rigorously specified. A theoretical basis for justifying the correctness of rewriting rules is established. Reverse transformation operation in the RBET framework is discussed, and it is shown that a correct rewriting rule is reversible, i.e., a correct rewriting rule can in general be constructed by syntactically reversing another correct rewriting rule. 1 Akama was partly supported by Grant-in-Aid for Scientific Research (B)(2) #12480076. 2 Email: [email protected] 3 Nantajeewarawat was supported partially by the Thailand Research Fund. 4 Email: [email protected] 5 Email: [email protected] c ©2001 Published by Elsevier Science B. V. Akama, Nantajeewarawat and Koike
منابع مشابه
Componentwise Program Construction: The Equivalent Transformation Computation Model versus the Logic Programming Model
In the equivalent transformation (ET) computation model, a program is a set of procedural rewriting rules for answer-preserving transformation of problems with respect to given background knowledge. In this paper, we discuss an approach to program construction by creating and accumulating individually correct and efficient program components one by one, referred to as componentwise program cons...
متن کاملThe Squeeze Method: A Method for Program Construction in the Equivalent Transformation Computation Model
In the equivalent transformation (ET) computation model, a specification provides background knowledge in a problem domain, a program is a set of prioritized rewriting rules, and computation consists in successive reduction of problems by rule application. As long as meaning-preserving rewriting rules, called ET rules, with respect to given background knowledge are used, correct computation res...
متن کاملLogic Circuit Synthesis Preserving Correctness using ET Rules
A transformation–based method of circuit synthesis is proposed. A correct circuit is synthesized as a description similar to a netlist from a specification program, which is written in an ET program consisting of ET (equivalent transformation) rules. The circuit and the specification (the initial ET program) are equivalent finite state machines. The main part of the synthesis is equivalent tran...
متن کاملDeterminization of conditional term rewriting systems
This paper discusses determinization of conditional term rewriting systems with oriented constructor rules. We present a rule-based transformation system, which transforms a non-deterministic one into a deterministic one, together with examples of the transformation. We prove that the transformation system is simulation sound and simulation complete. We also prove that the transformation system...
متن کاملVMTS Solution of Case Study: Reverse Engineering
Model-driven software development makes models and model transformations first-class citizens in software development. Program code and corresponding models evolve parallelly, thus round-trip engineering is highly required. Program code to model transformation plays a key role in program comprehension and examination as examining models is simpler than processing program code. In this paper, we...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 59 شماره
صفحات -
تاریخ انتشار 2001